<form id="form" method="post">
<div class="t_2">
     <div class="fl"><?=$this->node_name?></div>
     <div class="fr add_form"><a href="javascript:;" id="add_table"></a></div>
</div>
<div class="order_show" id="info_form">
     <table width="100%" cellpadding="0" cellspacing="0" border="0" class="info_table">
		<tr>
			<td class="td1">此次还款信息：</td>
			<td>欠款<?=$this->loan['price']?>元，已还款<?=$this->loan['arr_price']?>元。</td>
		</tr>
		<tr>
			<td class="td1">历史总欠款：</td>
			<td><?=$this->loan_price?></td>
		</tr>
		<tr>
			<td class="td1">还款金额：</td>
			<td><?=$this->repayment['price']?></td>
		</tr>
		<?php if ($this->step!=2 && $this->repayment['audit_state']==1): ?>
		<tr>
			<td class="td1">下级操作员列表：</td>
			<td>
				<select name="next_uid" id="next_uid">
					<option value="0">请选择</option>
					<?php foreach((array)$this->users as $user): ?>
					<option value="<?=$user['uid']?>"><?=$user['username']?>[<?=$user['nickname']?>]</option>
					<?php endforeach; ?>
				</select>
			</td>
		</tr>
		<?php endif; ?>
		<tr>
			<td class="td1">操作：</td>
			<td>				
				<?php if($this->repayment['audit_state'] == $this->step): ?>
				<input type="submit" value="通过" />
				<?php else: ?>
				无权限操作
				<?php endif; ?>
			</td>
		</tr>
     </table>
</div>
</form>

<script>
$(function(){
	$('#form').submit(function(){
		$.post(location.href,$(this).serialize(),function(data){
			alert(data.message);
			window.location.reload();
		},'json');
		return false;
	});
});
</script>